package com.lmb.util;

import lombok.Data;

@Data
public class Page {
    private Integer current;//当前页码
    private Integer count;//总记录数
    private Integer limit;//每页显示数量
    private Object data;
    private Integer start;//开始索引的位置
    private Integer total;//总页数
    private Integer getStart(){
        return (current-1)*limit;
    }
}
